package com.ran.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ran.sys.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface IUserService extends IService<User> {

    User getUserInfoByUserName(String username);

    User getUserInfoByUserId(String userid);

    Map<String, Object> userlogin(User user1,User user2);

    User userregister(User user);

    User userUpdate(HttpServletRequest request,User user);
}
